Einhugur macOS Bridge plugin.

EinhugurMacOSBridge.NSOpenPanel Class (desktop)

A panel that prompts the user to select a file to open.

EinhugurMacOSBridge.NSSavePanel
   NSOpenPanel

class EinhugurMacOSBridge.NSOpenPanel

Constructors

NSOpenPanelConstructor with no parameters which initializes it with a default configuration.

Properties

AccessoryView (Inherited) The custom accessory view for the current app.
AccessoryViewDisclosedA Boolean value that indicates whether the panel's accessory view is visible.
AllowsMultipleSelectionA Boolean that indicates whether the user may select multiple files and directories.
AllowsOtherFileTypes (Inherited) A Boolean value that indicates whether the panel allows the user to save files with a filename extension that’s not in the list of allowed types.
CanChooseDirectoriesA Boolean that indicates whether the user can choose directories in the panel.
CanChooseFilesA Boolean that indicates whether the user can choose files in the panel.
CanCreateDirectories (Inherited) A Boolean value that indicates whether the panel displays UI for creating directories.
CanSelectHiddenExtension (Inherited) A Boolean value that indicates whether the panel displays UI for hiding or showing filename extensions.
ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
DirectoryURL (Inherited) The current directory shown in the panel.
Expanded (Inherited) A Boolean value that indicates whether whether the panel is expanded.
ExtensionHidden (Inherited) A Boolean value that indicates whether the extension-hiding checkbox is visible and checked.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
Message (Inherited) The message text displayed in the panel.
NameFieldLabel (Inherited) The label text displayed in front of the filename text field.
NameFieldStringValue (Inherited) The user-editable filename currently shown in the name field.
Prompt (Inherited) The text to display in the default button.
ResolvesAliasesA Boolean that indicates whether the panel resolves aliases.
ShowsHiddenFiles (Inherited) A Boolean value that indicates whether the panel displays files that are normally hidden from the user.
ShowsTagField (Inherited) A Boolean value that indicates whether the panel displays the Tags field.
Title (Inherited) The title of the panel.
URL (Inherited) A URL that contains the fully specified location of the targeted file.

Methods

BeginSheetModalForWindow (Inherited) Presents the panel as a sheet modal to the specified window. (This variation takes new style Xojo Desktop window)
BeginSheetModalForWindow (Inherited) Presents the panel as a sheet modal to the specified window. (This variation takes old style Xojo Window)
BeginWithCompletionHandler (Inherited) Presents the panel as a modeless window.
shared CastDoes deep cast on incoming NSObject to NSOpenPanel.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject
RunModal (Inherited) Displays the panel and begins its event loop with the current working (or last-selected) directory as the default starting point.
SetAllowedFileTypes (Inherited) An array of types that specify the files types to which you can save or open.
SetChangeDirectoryHandler (Inherited) Sets handler to receive callbacks when user changes to different directory in the Open or Save panel.
SetExpandHandler (Inherited) Sets expand handler to receive callbacks when the Open or Save dialog expands or collapses.
SetURLEnableFilterSets callback routine to filter urls which can be opened.
TagNames (Inherited) Returns array of selected Tag names.
TagNames (Inherited) Pre-sets tag names that to include on a saved file.
URLsReturns an array of URLs, each of which contains the fully specified location of a selected file or directory.
ValidateVisibleColumns (Inherited) Validates and reloads the browser columns visible in the panel.

Delegates

EnableURLDelegateDelegate to be used with the SetURLEnableFilter method.

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit